/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package sda.levelup.jdbc.library;

import java.util.LinkedList;
import java.util.List;

/**
 *
 * @author Дима
 */
public class Test
{

    public static void main(String[] args) {
        LibManager lm = new LibManager();
        List<BookDB> list = lm.getAllBooks();

//        BookDB b = new BookDB(3, "Gamble", 4, 4, 1);
        list = lm.allAuthorBook("Martin");
//        for (BookDB b : list) {
//            System.out.println(b);
//        }
        System.out.println(lm.getBookByName("Fevre Dream"));
    }
}
